package com.wzk.travelspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzk.travelspringboot.dto.PageQuery;
import com.wzk.travelspringboot.dto.Result;
import com.wzk.travelspringboot.dto.ScenicDTO;
import com.wzk.travelspringboot.dto.ViewDTO;
import com.wzk.travelspringboot.entity.Scenic;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/8 21:34
 */
public interface ScenicService extends IService<Scenic> {
    Result insert(ScenicDTO dto);

    Result queryAll(PageQuery page);


    Result queryById(Long aLong);

    Result queryLikeName(Integer pageNum, Integer pageSize, String name);

    void view(ViewDTO dto);

    Result all();
}
